<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      SCons-3.1.2
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;13.&nbsp;Programming
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="rust.html" title="Rustc-1.37.0">Prev</a>
          <p>
            Rustc-1.37.0
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="slang.html" title="slang-2.3.2">Next</a>
          <p>
            slang-2.3.2
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="prog.html" title=
          "Chapter&nbsp;13.&nbsp;Programming">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="scons" name="scons"></a>SCons-3.1.2
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to SCons
        </h2>
        <p>
          <span class="application">SCons</span> is a tool for building
          software (and other files) implemented in <span class=
          "application">Python</span>.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://downloads.sourceforge.net/scons/scons-3.1.2.tar.gz">https://downloads.sourceforge.net/scons/scons-3.1.2.tar.gz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 77b2f8ac2661b7a4fad51c17cb7f1b25
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 656 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 5.5 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: less than 0.1 SBU
              </p>
            </li>
          </ul>
        </div>
        <h3>
          SCons Dependencies
        </h3>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../pst/docbook-xsl.html" title=
          "docbook-xsl-nons-1.79.2">docbook-xsl-1.79.2</a> and <a class=
          "xref" href="libxslt.html" title=
          "libxslt-1.1.34">libxslt-1.1.34</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/scons">http://wiki.linuxfromscratch.org/blfs/wiki/scons</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of SCons
        </h2>
        <p>
          Install <span class="application">SCons</span> by running the
          following commands as the <code class="systemitem">root</code>
          user:
        </p>
        <pre class="root">
<kbd class=
"command">sed -i 's/env python/&amp;3/' script/scons*            &amp;&amp;
python3 setup.py install --prefix=/usr  \
                         --standard-lib \
                         --optimize=1   \
                         --install-data=/usr/share &amp;&amp;
rm -v /usr/bin/scons*.bat</kbd>
</pre>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">scons, scons-configure-cache, sconsign,
              and scons-time</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">None</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directory:</strong>
              <span class=
              "segbody">/usr/lib/python3.8/site-packages/SCons</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="scons-prog" name="scons-prog"></a><span class=
                    "term"><span class=
                    "command"><strong>scons</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a software construction tool.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="scons-configure-cache" name=
                    "scons-configure-cache"></a><span class=
                    "term"><span class=
                    "command"><strong>scons-configure-cache</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    shows or converts the configuration of an <span class=
                    "application">SCons</span> cache directory.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="sconsign" name="sconsign"></a><span class=
                    "term"><span class=
                    "command"><strong>sconsign</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    prints <span class="application">SCons</span>
                    <code class="filename">.sconsign</code> file information.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="scons-time" name="scons-time"></a><span class=
                    "term"><span class=
                    "command"><strong>scons-time</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    generates and displays <span class=
                    "application">SCons</span> timing information.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-15 08:54:30 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="rust.html" title="Rustc-1.37.0">Prev</a>
          <p>
            Rustc-1.37.0
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="slang.html" title="slang-2.3.2">Next</a>
          <p>
            slang-2.3.2
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="prog.html" title=
          "Chapter&nbsp;13.&nbsp;Programming">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
